home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / Implementation / Dialogs / AboutBox.r < prev    next >
Encoding:
Text File  |  1997-02-13  |  2.0 KB  |  67 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        AboutBox.r
  3.  
  4.     Contains:    Resources for the OpenDoc About Box
  5.  
  6.     Owned by:    Chris Linn
  7.  
  8.     Copyright:    Â© 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     10/4/96    CSL        first checked in
  13. */
  14.  
  15. #define SystemSevenOrBetter 1            // we want the extended types
  16. #define    SystemSevenOrLater    1            // Types.r uses this variable
  17.  
  18. #define oldTemp            // to get 'dctb' resources to rez
  19. #ifndef __TYPES_R__
  20. #include "Types.r"
  21. #endif
  22. #undef oldTemp
  23.  
  24. #ifndef _DLGDEFS_
  25. #include "DdgDefs.h"
  26. #endif
  27.  
  28. //-------------------------------------------------------------------------------------
  29. // OpenDocâ„¢ About... box
  30. //-------------------------------------------------------------------------------------
  31.  
  32. resource 'DLOG' (kODDlgAboutBoxDLOGID) {
  33.     {29, 48, 332, 345},
  34.     dBoxProc,
  35.     visible,
  36.     goAway,
  37.     0x0,
  38.     kODDlgAboutBoxDLOGID,
  39.     "",
  40.     centerMainScreen
  41. };
  42.  
  43. data 'ictb' (kODDlgAboutBoxDLOGID, purgeable /*<eeh> added for 1384356*/) {
  44.     $"0000 0000"    /* User item is unaffected */
  45.     $"0005 0008"    /* Change font + size of text item */
  46.     
  47.     $"0001"            /* Use application font */
  48.     $"0000"            /* Plain style [ignored] */
  49.     $"000A"            /* 10pt size */
  50.     $"0000"            /* Red component [ignored] */
  51.     $"0000"            /* Blue component [ignored] */
  52.     $"0000"            /* Green component [ignored] */
  53.     $"0000"            /* BG Red component [ignored] */
  54.     $"0000"            /* BG Blue component [ignored] */
  55.     $"0000"            /* BG Green component [ignored] */
  56.     $"0001"            /* srcOr mode [ignored] */
  57. };
  58.  
  59. #define kAboutBoxIDBase 131
  60. include "AboutBox.res" 'dctb' (kAboutBoxIDBase + 0) as 'dctb' (kODDlgAboutBoxDLOGID);
  61. include "AboutBox.res" 'DITL' (kAboutBoxIDBase + 0) as 'DITL' (kODDlgAboutBoxDLOGID);
  62. include "AboutBox.res" 'PICT' (kAboutBoxIDBase + 0) as 'PICT' (kODDlgAboutBoxDefaultPICTID);
  63. include "AboutBox.res" 'PICT' (kAboutBoxIDBase + 1) as 'PICT' (kODDlgAboutBoxBWPICTID);
  64. include "AboutBox.res" 'PICT' (kAboutBoxIDBase + 2) as 'PICT' (kODDlgAboutBox16GrayPICTID);
  65. include "AboutBox.res" 'PICT' (kAboutBoxIDBase + 3) as 'PICT' (kODDlgAboutBoxBestPICTID);
  66.  
  67.